<style>
<!--

-->
</style>
<div align="center" class="menuv"> 
<ul id="navigationMenu" class="navigationMenu"> 
<li class="menu_item ">		
	<a class="normalMenu" href="<?php echo $this->webroot;?>">TRANG CHỦ</a></li> 
<?php $all_types = $this->requestAction('/types/get_all_types');?>
<?php foreach($all_types as $type):?>
<li class="menu_item ">
	<a class="normalMenu" href="<?php echo $this->webroot;?>posts/index/<?php echo $type['Type']['id'];?>/0/0" style="text-transform: uppercase;"><?php echo $type['Type']['name'];?></a></li> 
<?php endforeach;?>
</ul> 
</div>

<?php echo $this->Form->create('Post', array('url' => '/posts/search'));?>
<table width="100%" height="80" cellspacing="0" cellpadding="0" border="0" class="centertable"> 
	<tr valign="top"> 
		<td width="8" background="<?php echo $this->webroot;?>img/lam/shbg.jpg"></td>
		<td class="logo" background="<?php echo $this->webroot;?>img/lam/shbg.jpg">&nbsp;</td> 
		<td background="<?php echo $this->webroot;?>img/lam/shbg.jpg"> 
			<table width="100%" cellspacing="0" cellpadding="0" border="0"> 
				<tr> 
					<td class="vs">&nbsp;</td> 
				</tr> 
				<tr> 
					<td> 
						<table width="100%" cellspacing="0" cellpadding="0" border="0" class="sb"> 
						<tr> 
							<td width="5" background="<?php echo $this->webroot;?>img/lam/sbbg.jpg"></td> 
							<td width="34" valign="middle" background="<?php echo $this->webroot;?>img/lam/sbbg.jpg">
								<img class="vk" align="absmiddle" ivm="Bấm vào đây để bật bộ gõ Tiếng Việt" vim="Bấm vào đây để tắt bộ gõ Tiếng Việt" src="http://raovatdanang.com.vn/theme/site/default//images/1.gif" onclick="return _e_(event,0)" title="Bấm vào đây để tắt bộ gõ Tiếng Việt">
							</td>
							<td width="342" background="<?php echo $this->webroot;?>img/lam/sbbg.jpg"> 
								<input type="text" class="searchbox" size="110" value="" name="data[Post][fkeyword]"> 
							</td> 
							<td class="ddl" width="118" background="<?php echo $this->webroot;?>img/lam/sbbg.jpg"> 
								<?php $cates = $this->requestAction('/categories/category_menu_search');?>
								<?php $mang = array('all'=>'- Tất cả danh mục -');?>
								<?php foreach($cates as $cate):?>
								<?php $mang[$cate['Category']['id']] = $cate['Category']['name'];?>
								<?php endforeach;?>
								<?php echo $this->Form->input('select', array('div' => false, 'class' => 'fieldselect', 'label' => false, 'options' => $mang, 'style' => 'width: 200px; height: 25px;'), 'key');?>
							</td> 
							<td width="5" background="<?php echo $this->webroot;?>img/lam/sbr.jpg"></td>
							<td style="padding-left: 6px; width: 110px;"> 
								<input type="image" name="search_sm" title="Tìm kiếm" alt="Tìm kiếm" src="<?php echo $this->webroot;?>img/lam/search.gif"> 
							</td>
							<td>
								<a class="whitetext" href="<?php echo $this->webroot?>posts/search_advance">
									<strong>Tìm kiếm nâng cao</strong>
								</a> 
								<br> 
							</td> 
							</tr> 
						</table> 
					</td> 
				</tr> 

			</table> 
		</td>
		<td width="10" background="<?php echo $this->webroot;?>img/lam/shbg.jpg"></td> 
	</tr> 
</table> 
<?php echo $this->Form->End();?>